package com.woniuxy.service;

import com.woniuxy.controller.form.*;
import com.woniuxy.exception.DdException;
import com.woniuxy.exception.ShopCodeCopeExption;
import com.woniuxy.model.PawnWarehouse;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.utils.Result;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hujianying
 * @since 2022-03-23
 */
public interface PawnWarehouseService extends IService<PawnWarehouse> {

    Result findAllPage(FindAllWhpageform findAllWhpageform);

    Result findWhpageBylike(FindWhByLikefrom findShopByLikefrom);

    Result deleWhList(DeleWhListfrom deleWhListfrom) throws DdException;

    Result addWh(AddWhfrom addWhfrom) throws ShopCodeCopeExption, DdException;
}
